home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Format CD 41
/
Amiga Format CD41 (1999-06)(Future Publishing)(GB)[!][issue 1999-07].iso
/
-seriously_amiga-
/
graphics
/
anim2qt
/
smartscale.doc
< prev
Wrap
Text File
|
1999-04-19
|
902b
|
27 lines
Smart scale v1.0 (c) 1996 Lorence Lombardo.
WHAT THE F_CK IS SMARTSCALE ?
SmartScale is a little program i wrote intended for picture conversion script
files. It has 3 output modes. Con, env & ask.
It will look at a picture or animation and tell you the dimensions of
that picture and output the information to the con or env.
If you enter x & y scale args, the args will be recalculated & output'd in order
to keep the aspect ratio of the picture or animation the same.
If you use the ask mode you will be asked to enter an X & Y scale. Ideal for
script files.
Usage:
SmartScale [con/env/ask] [file name] [x scale] [y scale] [u]
eg. SmartScale env pic.iff 640 200
ENV outputs:
XIN & YIN input size of picture
XINh half of input XIN
DIN depth of picture
XOUT & YOUT calculated size of picture within the [x & y scale] args
while still maintaining the correct aspect ratio.